package com.yh.utils.extract.model;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Data
@Table(name = "yh_datasource")
@Entity
public class DataSourceDO {
    @Id
    private String id;

    @Column(name = "name")
    private String name;

    @Column(name = "key")
    private String key;

    @Column(name = "user_name")
    private String userName;

    @Column(name = "pass_word")
    private String passWord;

//    @Column(name = "url")
    private String url;

    @Column(name = "driverclass_name")
    private String driverClassName;
}

